package com.irdstudio.efp.limit.service.facade;

import java.util.List;

import com.irdstudio.efp.flow.common.service.Approve;
import com.irdstudio.basic.framework.core.base.DataOptionalAuthority;
import com.irdstudio.efp.limit.service.vo.LmtFreezeAppVO;

/**
 * <p>Description:额度冻结申请表				<p>
 * @author fuzm
 * @date 2018-06-05
 */
public interface LmtFreezeAppService extends Approve, DataOptionalAuthority{
	
	public List<LmtFreezeAppVO> queryAllOwner(LmtFreezeAppVO lmtFreezeAppVo);
	
	public List<LmtFreezeAppVO> queryAllCurrOrg(LmtFreezeAppVO lmtFreezeAppVo);
	
	public List<LmtFreezeAppVO> queryAllCurrDownOrg(LmtFreezeAppVO lmtFreezeAppVo);
	/**
	 * 查询授信协议编号下的冻结记录
	 * @param lmtFreezeAppVo
	 * @return
	 */
	public List<LmtFreezeAppVO> queryLmtFresByLmtContNo(LmtFreezeAppVO lmtFreezeAppVo);
	/**
	 * 保存额度冻结申请数据
	 * @param inLmtFreezeAppVo
	 * @return total: -2: 授信协议编号已经存在额度冻结申请待发起,不允许发起额度冻结申请! 
	 * -3: 授信协议编号已经存在额度冻结申请审批中,不允许发起额度冻结申请! 
	 * -4: 授信协议状态已经是冻结,不允许发起额度冻结申请!
	 */
	public LmtFreezeAppVO insertLmtFreezeApp(LmtFreezeAppVO inLmtFreezeAppVo);
	
	public int deleteByPk(LmtFreezeAppVO lmtFreezeAppVo);
	
	public int updateByPk(LmtFreezeAppVO lmtFreezeAppVo);
	
	public LmtFreezeAppVO queryByPk(LmtFreezeAppVO lmtFreezeAppVo);
 

}
